//
// Created by tang on 2022/1/10.
//

#ifndef DIARYTOOL_DIARY_MAIN_FORM_HPP
#define DIARYTOOL_DIARY_MAIN_FORM_HPP

#include "form.hpp"

struct DiaryAppData;
class DiaryAppMainForm : public MainFromBase
{
    DiaryAppData* data;
public:
    DiaryAppMainForm(std::string title, int width, int height);
    ~DiaryAppMainForm() override;

    void ShowDialog(const std::string& dlg_name) override;
    void ShowDialog(unsigned int dlg_id) override;

protected:
    void OnDraw() override;
    void SetupStyles() override;
    void Init() override;
    void Cleanup() override;
};

#endif //DIARYTOOL_DIARY_MAIN_FORM_HPP
